﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Runtime.Serialization;

namespace DailyBread
{
    [DataContract()]
    public class DailyVerse
    {
        [DataMember]
        public string breadName { get; set; }
        [DataMember]
        public DateTime breadDate { get; set; }
        [DataMember]
        public string verseName { get; set; }
        [DataMember]
        public string breadContent { get; set; }
        [DataMember]
        public string verseContent { get; set; }
        [DataMember]
        public string articleVerse { get; set; }
        [DataMember]
        public bool personalFav { get; set; }

        public string verseandBread
        {
            get
            {
                return verseName + " - " + breadName;
            }
        }

        public DailyVerse(string id, string Name, DateTime date, string bread, string verse, string article, bool fav)
        {
            verseName = id;
            breadName = Name;
            breadDate = date;
            breadContent = bread;
            verseContent = verse;
            articleVerse = article;
            personalFav = fav;
        }
    }
}